﻿namespace UpdateHYLiveShowConsole
{
    public class Utility
    {
        public static class JsonWrapper
        {
            public static string Encode(object value)
            {
                return Newtonsoft.Json.JsonConvert.SerializeObject(value);
            }
            public static T Decode<T>(string value)
            {
                return Newtonsoft.Json.JsonConvert.DeserializeObject<T>(value);
            }
        }
    }
}